package com.example.filter;

import java.io.*;
import javax.servlet.ServletException;
import javax.servlet.http.*;

public class HelloServlet extends HttpServlet {

    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
        doPost(request,response);
    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        resp.setContentType("text/html;charset=utf-8");

        //预约跳转至客户登录界面是为了保证仅vip用户可预约，非vip用户无法预约
        //输入客户手机号码后，查找到客户的信息，找到可预约反之则无法预约
        //进入预约界面后，确定客户预约的时间以及预约的项目，还可以对客户预约项进行修改和取消操作，更加灵活

    }
}